package com.pb.wkflow.api.service;

import com.pb.infra.oth.entity.common.Result;
import com.pb.wkflow.api.controller.request.TaskHandOverCreateRequest;
import com.pb.wkflow.api.controller.request.TaskHandOverQueryRequest;

/**
 * 任务移交配置Service
 * @author 苗益辉
 * @date 2022/12/26 15:01
 */
public interface TaskHandOverService {

    /**
     * 查询
     * @param pageIndex pageIndex
     * @param pageSize pageSize
     * @param request request
     * @return Result
     */
    Result searchByPage(Integer pageIndex, Integer pageSize, TaskHandOverQueryRequest request);

    /**
     * 新增
     * @param request request
     * @return Result
     */
    void insert(TaskHandOverCreateRequest request);

    /**
     * 修改
     * @param request request
     * @return Result
     */
    void edit(TaskHandOverCreateRequest request);

    /**
     * 删除
     * @param request request
     * @return Result
     */
    void delete(TaskHandOverCreateRequest request);
}
